package com.hcy.asyncfiledownload.common.event;

import com.hcy.asyncfiledownload.common.entry.ExportRecord;
import lombok.Getter;
import org.springframework.context.ApplicationEvent;

/**
 * @Author huchenying
 * @Date 2022/9/6 15:11
 * @Description
 */
public class MockMqExportEvent extends ApplicationEvent {

    public MockMqExportEvent(ExportRecord source) {
        super(source);
    }

    public ExportRecord getExportRecord() {
        return (ExportRecord) super.getSource();
    }

}
